package com.example.forjava.model.chain;

public class Main {

    public static void main(String[] args) {
        ProcessingObject p1 = new FirstInterview();
        ProcessingObject p2 = new SecondInterview();
        ProcessingObject p3 = new ThreeInterview();


        p1.setHandler(p2);
        p2.setHandler(p3);
        // 第一次面试
        p1.handle("hello");

    }
}
